// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import store from './store/index'
import currency from './utils/index'

import Vant from 'vant';
import 'vant/lib/index.css';
import axios from './utils/axios'
import  './utils/interceptor';


import VueLazyload from 'vue-lazyload'

Vue.use(VueLazyload, {
  preLoad: 1,
  error: '',
  loading:'http://file.rzkeji.com/web/recruit/icon/loading.svg',
  attempt: 3
})


Vue.use(Vant);
Vue.config.productionTip = false
Vue.prototype.$store = store
Vue.prototype.$currency = currency
Vue.prototype.$axios = axios
Vue.prototype.$api_url = 'https://wx.zhaowea.com/api'
/* eslint-disable no-new */

new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
